package com.zhou.yygh.user.client;

import com.zhou.yygh.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import zhou.hospital.model.user.Patient;

@Repository
@FeignClient("service-user")
public interface UserFeignClient {


    //根据ID获得就诊人信息
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable("id") Long id);
}
